home *** CD-ROM | disk | FTP | other *** search
/ Champak 103 / Vol 103.iso / games / screamin.swf / scripts / frame_4 / PlaceObject3_165_360 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2010-03-13  |  263b  |  9 lines

  1. onClipEvent(enterFrame){
  2.    var ld1 = Math.floor(_root.gameTime / 60);
  3.    var ld2 = Math.floor((_root.gameTime - _root.d1 * 60) / 10);
  4.    var ld3 = _root.gameTime - _root.d1 * 60 - _root.d2 * 10;
  5.    _root.d1 = ld1;
  6.    _root.d2 = ld2;
  7.    _root.d3 = ld3;
  8. }
  9.